package com.xxtx.trade.sysUser.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class SysUserPhoneVo implements Serializable {
    /**
     * 主键
     */
    private String id;
    /**
     * 用户手机号
     */
    private String userPhone;
    /**
     * iccid
     */
    private String iccid;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    /**
     * 是否要直接跳转 home页面， 1 不是  2 是
     */
    private int isToHome=1;

    /**
     * simDefault
     */
    private int simDefault;

    private int isFirst;

    public int getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(int isFirst) {
        this.isFirst = isFirst;
    }

    public int getSimDefault() {
        return simDefault;
    }

    public void setSimDefault(int simDefault) {
        this.simDefault = simDefault;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getIsToHome() {
        return isToHome;
    }

    public void setIsToHome(int isToHome) {
        this.isToHome = isToHome;
    }

    @Override
    public String toString() {
        return "SysUserPhoneVo{" +
                "id='" + id + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", iccid='" + iccid + '\'' +
                ", createTime=" + createTime +
                ", isToHome=" + isToHome +
                ", simDefault=" + simDefault +
                '}';
    }
}
